package com.z.ssmdemo.entity;

import com.z.platform.controller.persistence.orm.metadataModel.Entity;
import com.z.platform.controller.persistence.orm.annotation.Column;
import com.z.platform.controller.persistence.orm.annotation.Id;
import com.z.platform.controller.persistence.orm.annotation.Table;

import java.time.LocalDate;

/**
 * @author 21051
 */
@Table(tableName = "DEMO_USER")
public class UserEntity implements Entity {
    @Id(priMaryKey = "id")
    private String id;

    @Column(column = "pazz_word")
    private String passWord;

    @Column(column = "nick_name")
    private String nickName;

    @Column(column = "Name")
    private String name;

    @Column(column = "Sex")
    private String sex;

    @Column(column = "Reg_date")
    private LocalDate regDate;

    @Column(column = "Brith_date")
    private LocalDate birthDate;

    public UserEntity() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public LocalDate getRegDate() {
        return regDate;
    }

    public void setRegDate(LocalDate regDate) {
        this.regDate = regDate;
    }

    public LocalDate getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(LocalDate birthDate) {
        this.birthDate = birthDate;
    }
}
